Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / Range<T> Class / Split Method
The position to split the range at.

In This Topic
    Split Method
    In This Topic
    Splits the range into two.
    Syntax
    'Declaration
     
    
    Public Function Split( _
       ByVal position As T _
    ) As IEnumerable(Of Range(Of T))
    public IEnumerable<Range<T>> Split( 
       T position
    )

    Parameters

    position
    The position to split the range at.

    Return Value

    The split ranges.
    Exceptions
    ExceptionDescription
    position is null.
    position is not contained within the range.
    See Also